<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="<c:url value="/js/jquery-easyui-1.5.5.6/jquery.min.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/jquery-easyui-1.5.5.6/jquery.easyui.min.js"/>"></script>
<script type="text/javascript" src="<c:url value="/js/jquery-easyui-1.5.5.6/locale/easyui-lang-zh_CN.js"/>"></script>
<link rel="stylesheet" type="text/css" href="<c:url value="/js/jquery-easyui-1.5.5.6/themes/default/easyui.css"/>" />
<link rel="stylesheet" type="text/css" href="<c:url value="/js/jquery-easyui-1.5.5.6/themes/icon.css"/>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>招聘流程模板   新增</title>
</head>
<body>
	<script type="text/javascript">
		$(function() {
			$('.recruit-process-add-return').linkbutton({
				onClick : function() {
					$(".recruit-process-add-div").panel({
						href : "Recruitment	"
					});
				}
			});
			$('.recruit-process-add-add').linkbutton({
				onClick : function() {
					$('#f').form({
						url:'lzs_tianjia',
						onSubmit: function(params){
							parent.$.messager.progress({
							    title : '提示',
							    text : '数据处理中，请稍后....'
							});
							params["reproName"] = $("#notes").textbox("getText");
							/* params["reproPerson"] = $(".number").textbox("getText"); */
						
						},
						success:function(){
							$.messager.progress('close');// 如果提交成功则隐藏进度条
							$(".recruit-process-add-div").panel({
								href : "Recruitment"
							});
						}}).submit();
					}
				});
			});
	</script>
	<div class="recruit-process-add-div">
		<form id='f' method='post'>
		<div style="padding:5px;height:auto">
			<a class="easyui-linkbutton recruit-process-add-add" data-options="iconCls:'icon-add',text:'添加'" ></a>
			<a class="easyui-linkbutton" data-options="iconCls:'icon-add'"></a>
			<a class="easyui-linkbutton" data-options="iconCls:'icon-EV',text:'EV'" ></a>
			<a class="easyui-linkbutton recruit-process-add-return" data-options="iconCls:'icon-arrowundo',text:'返回'" ></a>
		</div>
		<div>
			<table date-options="
				fit:true">
				<tbody>
					<tr>
						<td><div style="margin:5px;padding:5px;border-bottom:2px solid #2B91D5;width:440px">
							概要
						</div></td>
						<td><div style="margin:5px;padding:5px;border-bottom:2px solid #2B91D5;width:440px">
							&nbsp
						</div></td>
					</tr>
					<tr>
						<td><input class="easyui-textbox number"  
						data-options="label:'模板编号',width:290,labelWidth:165,labelAlign:'right'"/></td>
						<td><input class="easyui-textbox" 
						data-options="label:'更新',width:290,labelWidth:160,labelAlign:'right',readonly:true"/></td>
					</tr>
					<tr>
						<td><input class="easyui-textbox name" id="notes"
						data-options="label:'模板名称',width:290,labelWidth:165,labelAlign:'right'"/></td>
						<td><input style="border-bottom:1px solid #2B91D5" class="easyui-textbox" 
						data-options="label:'制单',width:290,labelWidth:160,labelAlign:'right',readonly:true"/></td>
					</tr>
					<tr>
						<td><span style="margin-left:65px">顺序执行阶段流程</span>
							<input class="order" type="checkbox"/>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div style="margin:5px;padding:5px">
			<div style="margin:10px 0px;border-bottom:2px solid #2B91D5;width:915px">
				应聘须知
			</div>
			<input class="easyui-textbox " 
				data-options="width:915,height:55,multiline:true">
			<div style="margin:10px 0px;border-bottom:2px solid #2B91D5;width:915px">
				备注
			</div>
			<input class="easyui-textbox remarks" data-options="width:915,height:60,multiline:true"/>
		</div>
		<div style="padding:10px 10px">
			<a class="easyui-linkbutton" data-options="iconCls:'icon-add',text:'添加',width:90" ></a>
		</div>
		</form>
	</div>
</body>
</html>